package lzzsrj.union.message.common.producer;

import lzzsrj.union.message.common.bean.UnionMessage;

import java.util.concurrent.TimeUnit;

public interface Producer {

    public Boolean send(String topic, String tag, UnionMessage message);

    public Boolean send(String topic, String tag, UnionMessage message, Long delay, TimeUnit timeUnit);


}
